package com.vcc.data.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 证件信息
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Getter
@Setter
@Table(value = "vcc_success_kyc_cert_info")
public class KycSuccessCertInfo extends BaseEntity implements Serializable {

    @Column(value = "user_id",comment = "用户id")
    private Long userId;

    @Column(value = "cert_type", comment = "证件类型")
    private String certType;

    /**
     * 是否长期有效
     */
    @Column(value = "has_long_term", comment = "是否长期有效")
    private Boolean hasLongTerm;

    @Column(value = "cert_expire_date", comment = "证件过期时间")
    private String certExpireDate;

    @Column(value = "gender",comment = "性别")
    private String gender;

    @Column(value = "email", comment = "邮箱")
    private String email;

    @Column(value = "cert_no", comment = "证件号码")
    private String certNo;

    @Column(value = "first_name", comment = "名")
    private String firstName;

    @Column(value = "last_name", comment = "姓")
    private String lastName;

    @Column(value = "country", comment = "国家")
    private String country;

    @Column(value = "cert_address", comment = "证件地址")
    private String certAddress;

    @Column(value = "birthday", comment = "出生日期")
    private String birthday;

    /**
     * 证件正面照
     */
    @Column(value = "cert_img_front", comment = "证件正面照")
    private String certImgFront;

    /**
     * 证件反面照
     */
    @Column(value = "cert_img_back", comment = "证件反面照")
    private String certImgBack;

    /**
     * 手持证件照
     */
    @Column(value = "cert_img_hand", comment = "手持证件照")
    private String certImgHand;

    /**
     * 居住地址
     */
    @Column(value = "dwell_address", comment = "居住地址")
    private String dwellAddress;

    /**
     * 居住地址邮编
     */
    @Column(value = "dwell_post_code", comment = "居住地址邮编")
    private String dwellPostCode;

    /**
     * 企业法人证件正面照
     */
    @Column(value = "audit_date",comment = "审核时间")
    private Date auditDate;


    @Column(value = "request_date",comment = "申请时间")
    private Date requestDate;

    @Column(value = "audit_remark",comment = "审核备注")
    private String auditRemark;

    @Column(value = "audit_user_id",comment = "审核人id")
    private Long auditUserId;

    @Column(value = "status",comment = "审核状态  0 审核成功  1 审核失败  2 等待审核")
    private Integer status;

    @Column(value = "count", comment = "审核次数")
    private Integer count;
}
